<%= form_for(@hotel_transaction) do |f| %>
  <% if @hotel_transaction.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@hotel_transaction.errors.count, "error") %> prohibited this hotel_transaction from being saved:</h2>

      <ul>
      <% @hotel_transaction.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :hotel_room_type_id %><br />
    <%= f.number_field :hotel_room_type_id %>
  </div>
  <div class="field">
    <%= f.label :payment_type_id %><br />
    <%= f.number_field :payment_type_id %>
  </div>
  <div class="field">
    <%= f.label :status_id %><br />
    <%= f.number_field :status_id %>
  </div>
  <div class="field">
    <%= f.label :price %><br />
    <%= f.number_field :price %>
  </div>
  <div class="field">
    <%= f.label :first_name %><br />
    <%= f.text_field :first_name %>
  </div>
  <div class="field">
    <%= f.label :last_name %><br />
    <%= f.text_field :last_name %>
  </div>
  <div class="field">
    <%= f.label :address %><br />
    <%= f.text_field :address %>
  </div>
  <div class="field">
    <%= f.label :phone %><br />
    <%= f.text_field :phone %>
  </div>
  <div class="field">
    <%= f.label :queries %><br />
    <%= f.text_area :queries %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
